
import { runTimeTpl } from '@/utils';
import { tpl } from './runtime';
export default function accessPlugin() {
  return {
    name: 'vite-plugin-access',
    enforce:'pre',
    configResolved(){
      runTimeTpl({
           name:'plugin-access',
           fileName: 'runtime.tsx',
           content:tpl()
      })
   },
  };
}
